package com.twq.types.typeparam

/**
 * Created by tangweiqun on 2017/12/7.
 */
abstract class Animal {
  def name: String
}

class Cat(val name: String) extends Animal

class Dog(val name: String) extends Animal



